<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!doctype html>
<html>

	<head>
		<meta charset="utf-8"/>
		<meta name="viewport" content="width=device-width, initial-scale=1"/>

		<title><tiles:getAsString name="title" /></title>
		<!--[if lt IE 9]>
			<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->

		<script type="text/javascript">var BASE_DIR = "${pageContext.request.contextPath}";</script>
		
		<!-- Folhas de estilo -->
		<tiles:insertAttribute name="styles" ignore="true"></tiles:insertAttribute>
	</head>
	
	<body lang="pt-BR">
		<header>
			<h1><tiles:getAsString name="title" /></h1>
		</header>

		<tiles:insertAttribute name="body" />
		
		<!-- Scripts JavaScript -->
		<script src="scripts/require-jquery.js"></script> 
		<tiles:insertAttribute name="scripts" ignore="true"></tiles:insertAttribute>
		
	</body>
	
</html>
